﻿<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:s="urn:metashell:sums" xmlns="http://www.w3.org/1999/xhtml" >
  <xsl:template match="/">

    <html>
      <head>
        <title>Checksums</title>
      </head>
      
      <body>
      
        <dl>
          <xsl:for-each select="s:sums/s:file">
            <dt><xsl:value-of select="@s:name" /></dt>
            <dd>
              <table>
              
                <tbody>
                
                  <xsl:for-each select="s:sum">
                    <tr>
                      <td><xsl:value-of select="@s:algorithm" /></td>
                      <td><xsl:value-of select="." /></td>
                    </tr>
                  </xsl:for-each>
                
                </tbody>
              
              </table>
            </dd>
          </xsl:for-each>
        </dl>
      
      </body>
    </html>
  
  </xsl:template>
</xsl:stylesheet>
